/*
 * @Description: 
 * @Author: wind-lc
 * @version: 1.0
 * @Date: 2022-07-14 10:53:18
 * @LastEditTime: 2022-07-26 09:44:41
 * @FilePath: \cscec-pms-admin\src\api\project\typeMaintenance.js
 */
import request2 from '@/utils/request2'
import { projectApiUrl } from '@/api/config'

export default {
  edit(params, data) {
    return request2({
      url: projectApiUrl + '/label/label-edit-trees', method: 'post', params, data
    })
  },
  editAbleId(params, data) {
    return request2({
      url: projectApiUrl + '/label/editAbleId', method: 'post', params, data
    })
  },
  editUnableId(params, data) {
    return request2({
      url: projectApiUrl + '/label/editUnableId', method: 'post', params, data
    })
  },
  create(params, data) {
    return request2({
      url: projectApiUrl + '/label/label-create-trees', method: 'post', params, data
    })
  },
  label(params, data) {
    return request2({
      url: projectApiUrl + '/label', method: 'post', params, data
    })
  },
  labelTreeList(params, data) {
    return request2({
      url: projectApiUrl + '/label/labelTreeList', method: 'get', params, data
    })
  }
}